package csc.daonjpa.java.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;

@Entity
@Table(name="baseinfo")
@Inheritance(strategy=InheritanceType.JOINED)
public class BaseInfo implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Id
	@Column(name = "number")
	private String number;
	
	@Column(name = "availableAmount")
	private double availableAmount;

	public BaseInfo(){
		
	}
	public BaseInfo(String number, double availableAmount) {
		super();
		this.number = number;
		this.availableAmount = availableAmount;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}
	public double getAvailableAmount() {
		return availableAmount;
	}
	public void setAvailableAmount(double availableAmount) {
		this.availableAmount = availableAmount;
	}

	
	
	
}
